package org.easymis.entitys.mybatis.dto;
import java.io.Serializable; 
import org.easymis.commons.generator.annotation.GenField; 
import org.easymis.commons.generator.annotation.GenModel; 
import org.easymis.commons.generator.annotation.GenTable; 
import java.util.*; 
 
  
  
 @GenTable(name="oa_knowledge") 
@GenModel(packageName="org.easymis.entitys.mybatis",modelName="OaKnowledge")  
 public class Knowledge implements Serializable{  
      @GenField(labelname="文章id",column="knowledge_id",id=true,length=20,isnull=false) 
      private String knowledgeId; 
      @GenField(labelname="",column="org_id",length=45,isnull=false) 
      private String orgId; 
      @GenField(labelname="文章类别",column="category_id",length=45,isnull=false) 
      private String categoryId; 
      @GenField(labelname="发表人",column="creator_id",length=45,isnull=false) 
      private String creatorId; 
      @GenField(labelname="标题",column="title",length=200,isnull=false) 
      private String title; 
      @GenField(labelname="内容",column="content",length=65535,isnull=false) 
      private String content; 
      @GenField(labelname="发表时间",column="create_time",isnull=false) 
      private Date createTime; 
      @GenField(labelname="更新时间",column="update_time",isnull=false) 
      private Date updateTime; 
      @GenField(labelname="点击次数",column="hits",isnull=false) 
      private Integer hits; 
      public String getKnowledgeId(){ 
      	   return knowledgeId;
      }
      public void setKnowledgeId(String knowledgeId){ 
      	   this.knowledgeId=knowledgeId; 
      } 
      public String getOrgId(){ 
      	   return orgId;
      }
      public void setOrgId(String orgId){ 
      	   this.orgId=orgId; 
      } 
      public String getCategoryId(){ 
      	   return categoryId;
      }
      public void setCategoryId(String categoryId){ 
      	   this.categoryId=categoryId; 
      } 
      public String getCreatorId(){ 
      	   return creatorId;
      }
      public void setCreatorId(String creatorId){ 
      	   this.creatorId=creatorId; 
      } 
      public String getTitle(){ 
      	   return title;
      }
      public void setTitle(String title){ 
      	   this.title=title; 
      } 
      public String getContent(){ 
      	   return content;
      }
      public void setContent(String content){ 
      	   this.content=content; 
      } 
      public Date getCreateTime(){ 
      	   return createTime;
      }
      public void setCreateTime(Date createTime){ 
      	   this.createTime=createTime; 
      } 
      public Date getUpdateTime(){ 
      	   return updateTime;
      }
      public void setUpdateTime(Date updateTime){ 
      	   this.updateTime=updateTime; 
      } 
      public Integer getHits(){ 
      	   return hits;
      }
      public void setHits(Integer hits){ 
      	   this.hits=hits; 
      } 
}